package events.library
{
	import flash.events.Event;
	import flash.utils.ByteArray;
	
	public class EventUpdateLibraryResource extends Event
	{
		public static const UPDATE_LIBRARY_RESOURCE:String = "updateLibraryResource";
		public static const TYPE_IMAGE:String = "typeImage";
		public static const TYPE_BINARY:String = "typeBinary";
		
		public var id:String;
		public var resourceType:String;
		public var data:ByteArray;
		
		public function EventUpdateLibraryResource(type:String, id:String, data:ByteArray, typee:String)
		{
			super(type);
			this.resourceType = typee;
			this.id = id;
			this.data = data;
		}
	}
}